package nxu.it.movieapi.service.pg.mapper;


import nxu.it.api.model.SimpleStaff;
import nxu.it.api.model.Staff;
import nxu.it.movieapi.service.pg.entity.StaffEntity;
import org.mapstruct.Mapper;

import java.util.List;

@Mapper(componentModel = "spring")
public interface StaffMapper {
    Staff fromEntity(StaffEntity staffEntity);

    List<Staff> fromEntitylist(List<StaffEntity> staffEntityList);

    List<SimpleStaff> tosimplestafflist(List<Staff> stafflist);
}
